package org.learn.test;

public class Arithmeticoperator {
    public static void main(String[] args) {
        System.out.println(10.0 / 4);
        double d = 10 / 4;
        System.out.println(d);
        System.out.println(10 % 3);
        System.out.println(-10 % 3);
        System.out.println(10 % -3);
        System.out.println(-10 % -3);
        //取模公式a%b=a-a/b*b
        int j = 8;
        int k = j++;
        System.out.println("k=" + k + "j=" + j);
        int i = 1;
        i = i++;
        System.out.println(i);
    }
//https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-winx64.zip
    //http://www.navicat.com.cn/products/
    //https://sqlyog.en.softonic.com/
}
